/*
 * @Description: 页面提示组件
 * @Author: Rfan
 * @Date: 2022-04-07 17:24:01
 * @LastEditTime: 2022-04-07 17:56:54
 */

import { Alert, Button } from 'antd';
import classNames from 'classnames/bind';

import styles from '../styles/useRight.module.scss';

const cx = classNames.bind(styles);

const tipNode = (
  <ol>
    <li> 设定其专有的知悉范围,请在()</li>
    <li>
      {' '}
      如果希望扩大或缩小某些用户的权限，请使用
      <Button type="link">规则权限</Button>
    </li>
  </ol>
);

const Tips = () => {
  return (
    <div className={cx('tips')}>
      <Alert description={tipNode} type="info" showIcon closable />
    </div>
  );
};

export default Tips;
